package utils.ipmac;

public class TestMain {

	/**
	 * 测试主方法
	 * 
	 * @param args
	 */
	public static void main(String[] args) {
		System.out.println(NetworkInfoUtil.testPatten("Xen Net Device Driver"));
		String ip = NetworkInfoUtil.getIpAddress();
		System.out.println(ip);

		String mac = NetworkInfoUtil.getMacAddress();
		System.out.println(mac);


		String realIp = NetworkInfoUtil.getRealIP();
		System.out.println(realIp);
	}

}
